package com.jackiechan.hello.day01;

import java.util.ArrayList;
import java.util.List;

public class Test07 {
    public static void main(String[] args) {
        extract("45+56");
    }
    public static void extract(String str){
//        char[] chars =;
        StringBuilder sb = new StringBuilder(str);
        System.out.println("***********");
        System.out.println(str);
        char[] chars = str.toCharArray();
        List list2 = new ArrayList();
        for(char c2:chars){
            list2.add(c2);
        }
        System.out.println(list2);
    }
}
